/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cassys.actions.core;

import com.opensymphony.xwork2.ActionSupport;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.SessionAware;

/**
 *
 * @author User
 */
public class BaseAction extends ActionSupport implements
        ServletRequestAware, SessionAware {

    protected HttpServletRequest request;
    protected Map<String, Object> session;

    public void setServletRequest(HttpServletRequest httpServletRequest) {
        this.request = httpServletRequest;
    }

    public void setSession(Map<String, Object> session) {
        this.session = session;
    }
}
